package com.dingyx.ps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dingyx.ps.model.entity.UserDTO;

public interface UserMapper extends BaseMapper<UserDTO> {

    Integer insertReturnId (UserDTO masterDTO);

    UserDTO selectByMobilAndUserType(String registerMobile, Integer userType);

    UserDTO selectEngineerByMobile(String registerMobile);

    UserDTO selectEnterpriseByMobile(String registerMobile);

    UserDTO selectPlatformByMobile(String registerMobile);

    Integer updateUserById(Integer id);
}
